#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#define N 10
int main()
{
    int arr[N] = {32, 56, 76, 12, 88, 93, 45, 67};
    int temp = 0;
    /*  srand(time(NULL));
     for (int i = 0; i < N; i++)
         arr[i] = rand() % 1000 + 1; */
    for (int i = 0; i < N - 1; i++)
    {
        for (int j = 0; j < N - i - 1; j++)
        {
            if (arr[j] > arr[j + 1])
            {
                temp = arr[j];
                arr[j] = arr[j + 1];
                arr[j + 1] = temp;
            }
        }
    }

    for (int i = 0; i < N; i++)
    {
        if (arr[i] != 0)
            printf("% d", arr[i]);
    }
    puts("");
    return 0;
}